﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SelfManagement.IServices;
using SelfManagement.Database.POCO;
using SelfManagement.Utility.Extensions;
using Ninject;
namespace SelfManagement.Services
{
    public class SchoolService : BaseService<School>, ISchoolService
    {
        public School GetSchoolById(string id)
        {
            return Query(s => s.Id == id).FirstOrDefault();
        }
    }
}
